package com.qianying.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qianying.entity.OrderResponseTime;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface OrderResponseTimeMapper extends BaseMapper<OrderResponseTime> {

    @Select("SELECT * FROM order_response_time WHERE customer_id = #{customer_id}")
    List<OrderResponseTime> selectAllByCustomId(@Param("customer_id") Long customId);
}